﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Template2.Master" AutoEventWireup="true" CodeBehind="AdvanceSearch.aspx.cs" Inherits="EnglishAuction.AdvanceSearch" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    Tìm kiếm nâng cao
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <script>
        $(document).ready(function () {
            $("#ContentPlaceHolder1_txtNgayLenSanFrom").datepicker({
                defaultDate: "+1w",
                changeMonth: true,
                numberOfMonths: 3,
                onClose: function (selectedDate) {
                    $("#ContentPlaceHolder1_txtNgayLenSanTo").datepicker("option", "minDate", selectedDate);
                }
            });
            $("#ContentPlaceHolder1_txtNgayLenSanTo").datepicker({
                defaultDate: "+1w",
                changeMonth: true,
                numberOfMonths: 3,
                onClose: function (selectedDate) {
                    $("#ContentPlaceHolder1_txtNgayLenSanFrom").datepicker("option", "maxDate", selectedDate);
                }
            });


            $("#ContentPlaceHolder1_txtNgayKetThucFrom").datepicker({
                defaultDate: "+1w",
                changeMonth: true,
                numberOfMonths: 3,
                onClose: function (selectedDate) {
                    $("#ContentPlaceHolder1_txtNgayKetThucTo").datepicker("option", "minDate", selectedDate);
                }
            });
            $("#ContentPlaceHolder1_txtNgayKetThucTo").datepicker({
                defaultDate: "+1w",
                changeMonth: true,
                numberOfMonths: 3,
                onClose: function (selectedDate) {
                    $("#ContentPlaceHolder1_txtNgayKetThucFrom").datepicker("option", "maxDate", selectedDate);
                }
            });
        });
    </script>
    <form runat="server" id="advancesearch">
        <br />
        <div style="border: solid 1px; background-color: #FFF; border-radius: 0px; border-color: #CCCCCC; width: 100%;">
            <div style="font-size: 20px; padding: 10px;">
                Tìm kiếm nâng cao
            </div>
            <hr style="border-style: inset; border-width: 1px; width: 98%;" />
            <table style="width: 60%; margin: 0 auto;" cellspacing="4">
                <tr>
                    <td>Ngày lên sàn</td>
                    <td>
                        <div style="vertical-align: central;">
                            Từ ngày:<asp:TextBox ID="txtNgayLenSanFrom" runat="server" />
                            Đến ngày:<asp:TextBox ID="txtNgayLenSanTo" runat="server" />
                        </div>
                    </td>
                </tr>
                <tr>
                    <td>Ngày kết thúc</td>
                    <td>
                        <div style="vertical-align: central;">
                            Từ ngày:<asp:TextBox ID="txtNgayKetThucFrom" runat="server" />
                            Đến ngày:<asp:TextBox ID="txtNgayKetThucTo" runat="server" />
                        </div>
                    </td>
                </tr>
                <tr>
                    <td>Giá sản phẩm hiện tại:</td>
                    <td>
                        <asp:DropDownList ID="ddlGia" runat="server" CssClass="dropdown">
                        </asp:DropDownList>
                    </td>
                </tr>
                <tr>
                    <td style="vertical-align: central;">Sản phẩm hot:</td>
                    <td>
                        <asp:CheckBox ID="cbHot" runat="server" />
                    </td>
                </tr>
                <tr>
                    <td style="vertical-align: central;">Loại sản phẩm:</td>
                    <td>
                        <asp:DropDownList ID="ddlLoaiSanPham" runat="server" CssClass="dropdown">
                        </asp:DropDownList>
                    </td>
                </tr>
                <tr>
                    <td style="vertical-align: central;">Số lượng yêu thích:</td>
                    <td>
                        <asp:DropDownList ID="dllSoLuongLike" runat="server" CssClass="dropdown">
                        </asp:DropDownList>
                    </td>
                </tr>
                <tr>
                    <td style="vertical-align: central;">Số lượng bình luận:</td>
                    <td>
                        <asp:DropDownList ID="ddlComment" runat="server" CssClass="dropdown">
                        </asp:DropDownList>
                    </td>
                </tr>
                <tr>
                    <td style="vertical-align: central;">Đánh giá:</td>
                    <td>
                        <asp:DropDownList ID="ddlRating" runat="server" CssClass="dropdown">
                        </asp:DropDownList>
                    </td>
                </tr>
            </table>
        </div>
        <br />
        <hr style="border-style: inset; border-width: 1px; width: 98%;" />

    </form>
</asp:Content>
